<template>
  <div>
    <h1>根组件App.vue</h1>
    <router-link to="/home">首页</router-link>&nbsp;
    <router-link to="/main">后台主页</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
import Home from './Home.vue'
import Main from './Main.vue'
import Login from './Login.vue'
export default {
    name:'MyApp',
    components:{
        Home,
        Login,
        Main
    }

}
</script>

<style>

</style>